package com.cm.projectx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cm.projectx.entity.PriceTask;
import com.cm.projectx.entity.ProductPriceReportDetail;
import com.cm.projectx.response.Result;
import com.cm.projectx.vo.PriceSearchVo;

import java.util.List;
import java.util.Map;

public interface IProductPriceReportDetailService extends IService<ProductPriceReportDetail> {
    /**
     * 各区县价格查询
     *
     * @param priceSearchVo
     * @return
     */
    Map<String, List<Map<String, Object>>> selectPage(PriceSearchVo priceSearchVo);

    /**
     * 导出数据
     * @param priceSearchVo
     * @return
     */
    Map<String, Object> exportExcel(PriceSearchVo priceSearchVo);

    /**
     * 导出数据
     *
     * @param priceSearchVo
     * @param priceTask
     * @return
     */
    Map<String, Object> exportExcelV3(PriceSearchVo priceSearchVo, PriceTask priceTask);

    /**
     * 获取报价类型的时间列表
     *
     * @param priceSearchVo
     * @return
     */
    Result getDateList(PriceSearchVo priceSearchVo);

    /**
     * 返回地区或监测点列表
     *
     * @param type
     * @param district
     * @return
     */
    List<Map<String, String>> selectMonitorPoints(String type, String district);

    /**
     * 获取商品类别列表
     * @return
     */
    Result getProductTypes();

    /**
     * 查询任务列表
     * @param priceSearchVo
     * @return
     */
    Result getTaskList(PriceSearchVo priceSearchVo);

    Result getDateListV3(PriceSearchVo priceSearchVo);

    Map<String, List<Map<String, Object>>>  selectPageV3(PriceSearchVo priceSearchVo, PriceTask priceTask);
}
